package com.mrd.frame.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mrd.frame.dao.OrderInteractionDao;
import com.mrd.frame.domain.OrderInteraction;
import com.mrd.frame.service.OrderInteractionService;

@Service
public class OrderInteractionServiceImpl implements OrderInteractionService {
	@Autowired
	private OrderInteractionDao orderInteractionDao;
	
	@Override
	public int deleteByPrimaryKey(String orderInteractionId) {
		return orderInteractionDao.deleteByPrimaryKey(orderInteractionId);
	}

	@Override
	public int insert(OrderInteraction record) {
		return orderInteractionDao.insert(record);
	}

	@Override
	public int insertSelective(OrderInteraction record) {
		return orderInteractionDao.insertSelective(record);
	}

	@Override
	public OrderInteraction selectByPrimaryKey(String orderInteractionId) {
		return orderInteractionDao.selectByPrimaryKey(orderInteractionId);
	}

	@Override
	public int updateByPrimaryKeySelective(OrderInteraction record) {
		return orderInteractionDao.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(OrderInteraction record) {
		return orderInteractionDao.updateByPrimaryKey(record);
	}

	@Override
	public List<OrderInteraction> selectSelective(OrderInteraction record) {
		return orderInteractionDao.selectSelective(record);
	}
}